package com.imooc.aspectJ.demo2;

public class CustomerDaoImpl implements CustomerDao {
    @Override
    public void save() {
        System.out.println("保存客户...");
    }

    @Override
    public String update() {
        System.out.println("修改客户...");
        return "spring";
    }

    @Override
    public void delete() {
        System.out.println("删除客户...");
    }

    @Override
    public void findOne() {
        System.out.println("查找一个客户...");
        int i = 1/0;
    }

    @Override
    public void findAll() {
        System.out.println("查找多个客户...");
//        int i = 1/0;
    }
}
